package isanfeng.tuxiaoer.principle.dependenceinversion;

/**
 * @author 李红辉
 * @version 1.0
 * @date 2019/8/27 16:02
 */
public class Test {
//    public static void main(String[] args) {
//        Person person = new Person();
//        person.studyJavaCourse();
//        person.studyFeCourse();
//    }
    public static void main(String[] args) {
        Person person = new Person();
        person.studyImoocCourse(new JavaCourse());
        person.studyImoocCourse(new FECourse());
        person.studyImoocCourse(new PythonCourse());
    }
}
